package com.cnswhy.cloud.server.core.dto;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.cnswhy.cloud.common.core.base.entity.Entity;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 
 * </p>
 *
 * @author cnswhy
 * @since 2021-07-05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "CustomerUpgradeTransOrderPageDTO", description = "")
public class CustomerUpgradeTransOrderPageDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 终端编号
     */
    @ApiModelProperty(value = "终端编号")
    private Long menuId;
    /**
     * 0失效 1 支付中 2 支付成功 3 已过期
     */
    @ApiModelProperty(value = "0失效 1 支付中 2 支付成功 3 已过期")
    private Integer status;
    /**
     * 交易金额
     */
    @ApiModelProperty(value = "交易金额")
    private Long transAmt;
    @ApiModelProperty(value = "")
    private LocalDateTime startDay;
    @ApiModelProperty(value = "")
    @Length(max = 255, message = "长度不能超过255")
    private String orderId;
    @ApiModelProperty(value = "")
    private Integer payType;
    /**
     * 微信用户ID
     */
    @ApiModelProperty(value = "微信用户ID")
    @Length(max = 255, message = "微信用户ID长度不能超过255")
    private String openId;
    /**
     * 微信订单号
     */
    @ApiModelProperty(value = "微信订单号")
    @Length(max = 255, message = "微信订单号长度不能超过255")
    private String wxOrderId;
    /**
     * 0 未过期 1 过期
     */
    @ApiModelProperty(value = "0 未过期 1 过期")
    private Integer expired;
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long customerId;
    @ApiModelProperty(value = "")
    private LocalDateTime endDay;

}
